﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DesignPattern.行为型模式.StatePattern
{
    public class StatePatternClient
    {

        public static void Run()
        {
            WorkOrderContent wo = new WorkOrderContent(new ScheduleState());
            wo.Request();

            wo = new WorkOrderContent(new PendingDispatchState());
            wo.Request();
        }
    }
}
